package br.com.jpoker.model;

import java.util.ArrayList;

public class Dealer {
	private Deck deck = Deck.getInstance();
	
	public Deck getDeck(){
		return this.deck;
	}
	 
	public void dealCard(Player player){
		 player.addCard(deck.drawCard());
	}
	
	public ArrayList<Card> drawFlop(){
		ArrayList<Card> cards = new ArrayList<Card>(3);
		for(int i=0; i<3; i++){
			cards.add(deck.drawCard());
		}
		return cards;
	}
	
}
